/*
  ******************************************************************************
  * @file    main.c
  * @author  APT AE Team
  * @version V1.12
  * @date    2019/03/08
  ******************************************************************************
  *THIS SOFTWARE WHICH IS FOR ILLUSTRATIVE PURPOSES ONLY WHICH PROVIDES 
  *CUSTOMER WITH CODING INFORMATION REGARDING THEIR PRODUCTS.
  *APT CHIP SHALL NOT BE HELD RESPONSIBILITY ADN LIABILITY FOR ANY DIRECT, 
  *INDIRECT DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF 
  *SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION 
  *CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.AND APT CHIP RESERVES 
  *THE RIGHT TO MAKE CHANGES IN THE SOFTWARE WITHOUT NOTIFICATION
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/ 
#include "apt32f172.h"
#include "apt32f172_types_local.h"
#include "apt32f172_coret.h"
#include "apt32f172_ifc.h"
#include "apt32f172_syscon.h"
#include "apt32f172_adc.h"
#include "apt32f172_cmp.h"
#include "apt32f172_oamp.h"
#include "apt32f172_gpio.h"
#include "apt32f172_tc0_gpt.h"
#include "apt32f172_tc1_gtc.h"
#include "apt32f172_tc2_st16.h"
#include "apt32f172_tc3_ctc.h"
#include "apt32f172_epwm.h"
#include "apt32f172_led.h"
#include "apt32f172_i2c.h"
#include "apt32f172_spi.h"
#include "apt32f172_usart.h"
#include "apt32f172_uart.h"
#include "math.h" 

/* defines -------------------------------------------------------------------*/
/* externs Register-------------------------------------------------------------------*/
/* externs function-------------------------------------------------------------------*/
extern void delay_nms(unsigned int t);
extern void APT32F172_init(void);	

/*************************************************************/
//main
/*************************************************************/
int main(void) 
{
	APT32F172_init();		
    while(1)
	{
		SYSCON_IWDCNT_Reload();                 	//清狗
		//...
    }
}

/******************* (C) COPYRIGHT 2018 APT Chip *****END OF FILE****/
